package com.bdcom.nms.NmsCollect.dao.impl;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.bdcom.nms.NmsCollect.dao.CollectResultPersistDao;

@Repository("collectresultpersistdao")
public class CollectResultPersistDaoImpl  implements CollectResultPersistDao{
	
	@PersistenceContext
	private EntityManager enmanager;
	
	@Transactional
	@Override
	public void PersistObject(Object o) {
		// TODO Auto-generated method stub
			enmanager.persist(o);
			
	}

}
